<template>
    <div class="my-modal">
        <div class="box" v-show="isShow">
            <span @click="$emit('update:isShow',false)">关闭</span>
        </div>
    </div>
</template>
<script>
export default {
    props:{
        isShow:Boolean
    },
    data() {
        return {
            
        }
    },
}
</script>
<style lang="scss" scoped>
.box{
    width: 300px;
    height: 200px;
    background: skyblue;
    padding: 20px;
    margin: 0 auto;
    span{
        float: right;
    }
}
</style>
